.class final Lnbisdk/lx;
.super Ljava/lang/Object;

# interfaces
.implements Landroid/location/GpsStatus$Listener;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lnbisdk/bc;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field private synthetic qM:Lnbisdk/bc;


# direct methods
.method constructor <init>(Lnbisdk/bc;)V
    .locals 0

    iput-object p1, p0, Lnbisdk/lx;->qM:Lnbisdk/bc;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public final onGpsStatusChanged(I)V
    .locals 4

    const/4 v3, 0x0

    const/4 v0, 0x4

    if-ne p1, v0, :cond_0

    iget-object v0, p0, Lnbisdk/lx;->qM:Lnbisdk/bc;

    iget-object v0, v0, Lnbisdk/bc;->ck:Landroid/location/LocationManager;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lnbisdk/lx;->qM:Lnbisdk/bc;

    iget-object v1, p0, Lnbisdk/lx;->qM:Lnbisdk/bc;

    iget-object v1, v1, Lnbisdk/bc;->ck:Landroid/location/LocationManager;

    const/4 v2, 0x0

    invoke-virtual {v1, v2}, Landroid/location/LocationManager;->getGpsStatus(Landroid/location/GpsStatus;)Landroid/location/GpsStatus;

    move-result-object v1

    iput-object v1, v0, Lnbisdk/bc;->cl:Landroid/location/GpsStatus;

    iget-object v0, p0, Lnbisdk/lx;->qM:Lnbisdk/bc;

    iget-object v0, v0, Lnbisdk/bc;->cl:Landroid/location/GpsStatus;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lnbisdk/lx;->qM:Lnbisdk/bc;

    invoke-static {v0, v3}, Lnbisdk/bc;->a(Lnbisdk/bc;I)I

    iget-object v0, p0, Lnbisdk/lx;->qM:Lnbisdk/bc;

    iget-object v0, v0, Lnbisdk/bc;->cl:Landroid/location/GpsStatus;

    invoke-virtual {v0}, Landroid/location/GpsStatus;->getSatellites()Ljava/lang/Iterable;

    move-result-object v0

    invoke-interface {v0}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;

    move-result-object v1

    if-eqz v0, :cond_0

    if-eqz v1, :cond_0

    :goto_0
    :try_start_0
    invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    const/4 v2, 0x1

    if-ne v0, v2, :cond_0

    iget-object v0, p0, Lnbisdk/lx;->qM:Lnbisdk/bc;

    invoke-static {v0}, Lnbisdk/bc;->a(Lnbisdk/bc;)I

    invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    :catch_0
    move-exception v0

    :cond_0
    :goto_1
    return-void

    :cond_1
    iget-object v0, p0, Lnbisdk/lx;->qM:Lnbisdk/bc;

    invoke-static {v0, v3}, Lnbisdk/bc;->a(Lnbisdk/bc;I)I

    goto :goto_1
.end method
